<?php $this->section->begin('breadcrumb')?>
<div id="global-breadcrumb">
	<ul>
		<li class="current">Thông tin công ty</li>
	</ul>
</div>
<?php $this->section->end()?>
<?php $this->content->begin();
?>
<div class="widget-shell inner-shadow">
	<div class="widget-header">
		<h2>Chi tiết thông tin liên hệ của công ty</h2>
	</div>
	<div class="widget-body">
		<table class="data-table">
			<thead>
				<tr>
					<th>Tên</th>
					<th>Tiêu đề</th>
					<th>Giá trị</th>
					<th>Vị trí</th>
					<th>Lựa chọn</th>
				</tr>
			</thead>
			<tbody>
				<?php foreach ($arrInfor as $infor):?>
				<tr>
					<td><a><?php echo $infor->name?></a></td>
					<td><a><?php echo $infor->title?></a></td>
					<td><a><?php echo $infor->value?></a></td>
					<td><a><?php echo $infor->position?></a></td>
					<td><?php echo $infor->action?></td>
				</tr>
				<?php endforeach;?>
			</tbody>
		</table>
		<div class="fclear"></div>
		<div class="global-form-footer">
			<input class="btn-theme" id="submit" type="submit" value="Cập nhật">
			<a href="<?php echo $this->url->action("create")?>" class="button">
				<span class="ico-text ico-text-brainstorm"></span>Thêm giá trị mới
			</a>
		</div>
	</div>
</div>
<div id="deleteDialog" style="display: none"></div>
<script>
function ChangeStatus(obj)
{
	$.ajax({
		url: "<?php echo $this->url->action('changeStatus')?>",
		data: {id: $(obj).attr('rel')},
		dataType: 'json',
		type: 'POST',
		success: function(response)
		{
			$(obj).html(response.text);
		}
	});
}
</script>
<?php $this->content->end()?>
<?php $this->section->begin("scripts")?>
<?php $this->html->loadJs('Areas/ControlPanel/Assets/js/delete.js');?>
<?php $this->section->end()?>